<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="Robots" content="all" />
<meta name="Googlebot" content="all" />
<meta name="Author" content="内蒙古呼和浩特市第二中学网校" />
<meta name="Copyright" content="内蒙古呼和浩特市第二中学版权所有" />
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}public.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}list.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script type="text/javascript" src="{JS_PATH}search_common.js"></script>
<style type="text/css">
	.photo_list {margin-top:10px;}
	.photo_list li {float:left; width:175px; margin-bottom:10px; text-align:center;}
	.photo_list li img {vertical-align:middle;}
	.photo_list li div {padding:1px; border:1px solid #CCC;}
	.photo_list li span {text-align:center; font-weight:bold;}
	.img-wrap {width:165px; height:150px; margin:0 0 5px 0;}
</style>
</head>
<body>
{template "content","header_common"}
<div id="page">



<div id="boardbox">
	<div class="crumb">
		<b>当前位置：</b>
		<a href="{siteurl($siteid)}">首页</a><span> > </span>{catpos($catid)} 图库
	</div><!-- css class crumb end -->
	{php $typeid=intval($_GET['typeid']);}
	<div class="imglistbox">
		<div class="imgbox">
			<h3>
				<span class="sp_r"></span>
				<span class="sp_l"></span>
				<a href="index.php?m=content&c=index&a=lists&catid={$catid}" title="全部分类"{if $typeid<1} class="fcous"{/if}>全部分类</a>
				{pc:content action="cattype" catid="$catid" order="typeid ASC" num="5"}
				{loop $data $r}
					<a href="{$r[url]}" title="{$r[name]}"{if $r[typeid]==$typeid} class="fcous"{/if}>{str_cut($r[name],30)}</a>
				{/loop}
				{/pc}
				<span class="title">图片列表</span>
			</h3>
			<span class="borderbox">
								<ul>{pc:content action="listdatas" catid="$catid" num="15" typeid="$typeid" order="id DESC" page="$page"}

										<li>{loop $data $r}

						<span>
							<a href="{$r[url]}" title="{$r[title]}">
								<img src="{thumb($r[thumb],150,140)}" alt="{$r[title]}"/>
							</a>
<!--通用-->
<span class="general">
<p><a href="{$r[url]}" title="{$r[title]}">{str_cut($r[title],28)}</a></p>
</span>
<!--高考状元-->
{if $catid == 46}
<span>
<p><b>姓名：</b>{$r[champion_name]}</p>
<p><b>总分：</b>{$r[champion_score]}</p>
<p><b>院校：</b>{$r[champion_school]}</p>
<!--<p><b>报考：</b>test</p>-->
</span>
{/if}
<!--名师风采-->
{if $catid == 32}
<span>
<p><b>姓名：</b>{$r[ts_name]}</p>
<p><b>科目：</b>{$r[ts_class]}</p>
<!--<p><b>职务：</b>{$r[]}</p>-->
<p><b>简介：</b>{str_cut($r[description],15)}</p>
</span>
{/if}
<!--学员展示-->
{if $catid == 49}
<span  style="display:none;">
<p><b>姓名：</b>{$r[star_name]}</p>
<p><b>班级：</b>{$r[star_class]}</p>
</span>
{/if}
						</span>{/loop}

					</li>
						{/pc}
			</ul>
								<div id="pages" class="text-c">{$pages}</div>
			</span><!-- css class borderbox end -->
		</div><!-- css class imgbox end -->
	</div><!--- css class imglistbox end -->
	
	<div class="rightside">
		<div class="ad"><script language="javascript" src="{APP_PATH}caches/poster_js/5.js"></script></div>
		<span class="hotboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道总排行</span></h3>
			<span class="outerbox">
				{pc:content action="hits" catid="$catid" num="20" order="views DESC" cache="3600"}
				<ul>
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank">{$r[title]}</a></li>
					{/loop}
				</ul>
				{/pc}
			</span>
		</span><!-- css class hotboard end -->
		
		<span class="seboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道本月排行</span></h3>
			<span class="outerbox">
				{pc:content action="hits" catid="$catid" num="8" order="monthviews DESC" cache="3600"}
				<ul class="content rank">
					{loop $data $r}
					<li><a href="{$r[url]}"{title_style($r[style])} title="{$r[title]}">{str_cut($r[title],56,'...')}</a><span style="margin-left:20px;">({number_format($r[monthviews])})</span></li>
					{/loop}
				</ul>
				{/pc}
			</span>
		</span><!-- css class seboard end -->
		
		<div class="clear">&nbsp;</div>
	</div><!-- css class leftside end -->
	
</div><!-- css id boardbox end -->


{template "content","footer_cat"}